package com.dream.house.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.com.servyou.base.exception.DAOException;

import com.dream.house.dao.base.IDAO;
import com.dream.house.entity.AllowanceDTO;

/**
 * 住房补贴申请DAO
 * @author ahk
 * @since 1.0
 */
@Repository
public interface AllowanceDAO extends IDAO{

	boolean saveAllowance(AllowanceDTO app) throws DAOException;
	
	boolean updateAllowance(AllowanceDTO app) throws DAOException;
	
	boolean removeAllowance(String djId) throws DAOException;
	
	AllowanceDTO getAllowance(String djId) throws DAOException;
	
	List<AllowanceDTO> findAllowances(AllowanceDTO app) throws DAOException;

}
